{extend name="mobile/layout"/}
{block name="seo"}
<title>{$info.title}-{$title}</title>	
<meta name="keywords" content="{$info.meta_keywords}-{$keywords}" />
<meta name="description" content="{$info.meta_description}-{$description}">
{/block}
{block name="content"} 
<div class="header-top">
  <div class="container">
    <span class="header-top-text">
      {$info.title}
    </span>
    <a class="top-back" onClick="javascript:window.history.back();return false;">
        <img src="__STATIC__/home/defaults/images/arrow-l.png">
    </a>
  </div>
</div>

<!-- <div class="ui  padded grid " id="listBanner">
    <div class="blue column">
        <div class="ui container ">
            <h3>高级搜索</h3>
            <p>按模型、栏目、字段的高级搜索</p>
        </div>  
    </div>
</div> -->

<div class="container" id="box">
    <div class="ui raised segment">
        <div class="ui blue ribbon label large">一共{$list.total}条 {$list.last_page}页 每页{$list.per_page}条</div>
        <div class="ui divider"></div>
        <form method="get" action="">
            <div class="ui four column grid doubling">
                <div class="column">
                    <div class="ui action left icon input small">
                        <i class="search icon"></i>
                        <input type="hidden" name="mid" placeholder="模型id" value="8">
                        <input type="hidden" name="cid" placeholder="栏目id" value="31">
                        <input type="text" name="keyword" placeholder="输入标准名称..." value="{$keyword}">
                        <button class="ui blue button" type="submit">搜索</button>
                    </div>
                </div>
            </div>
        </form>
        <div class="ui divided  items">
            {volist name="list.data" id="vo"}
            <div class="item">
                {if $vo.cover.path}
                <div class="ui small image">
                    <img src="__UPLOAD__/{$vo.cover.path}" alt="{$vo.title}" >
                </div>
                {/if}
                <div class="content">
                    <a class="header" href="{$vo.url}"><div class="ui blue horizontal label">{$columList[$vo.cname]['title']}</div> {:str_ireplace($keyword,"<font style='color:red'>$keyword</font>",$vo.title)}</a>
                    <div class="meta">
                        <span>{:date('Y-m-d H:i:s',$vo.create_time)}</span>
                    </div>
                    <div class="description">
                        <p>{:str_ireplace($keyword,"<font style='color:red'>$keyword</font>",$vo.description)}</p>
                    </div>
                </div>
            </div>
            {/volist}
        </div>
        {$page|raw}
    </div>
</div>
{/block}